#include <stdio.h>
enum Role
{
  ADMIN,
  USER,
  GUEST
};

struct User
{
  int id;
  enum Role role;
};

int main()
{
    struct User user;
    user.id = 1;
    user.role = USER;

    switch (user.role)
    {
    case ADMIN:
        printf("User Role: Admin\n");
        break;
    case USER:
        printf("User Role: User\n");
        break;
    case GUEST:
        printf("User Role: Guest\n");
        break;
    }

    return 0;
}